package com.kyk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 凯
 * @since 2025-09-18
 */
@Getter
@Setter
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    @Id
    private Integer oid;

    private Double total;

    private LocalDateTime ordertime;

    private Integer state;

    private String addr;

    private String phone;

    private Integer uid;

    private String name;
}
